#include "truthValue.h"

TruthValue::TruthValue(truthValue val)
{
	value = val;
}

TruthValue::TruthValue(const TruthValue & other)
{
    value = other.value;
}

TruthValue::~TruthValue()
{

}

std::string TruthValue::toString()
{
switch(value){
	case True:
		return "true";
	case False:
		return "false";
	case Unknown:
		return "Unknown";
	default: return "Not a Truth Value!";
	};
}

Expression * TruthValue::clone()
{
    return new TruthValue(*this);
}
